<?php
<object class="Add_contact" name="Add_contact" baseclass="page">
  <property name="Background"></property>
  <property name="Caption">Add Contact Person</property>
  <property name="Color">#000000</property>
  <property name="DocType">dtNone</property>
  <property name="Height">350</property>
  <property name="IsMaster">0</property>
  <property name="Name">Add_contact</property>
  <property name="UseAjax">1</property>
  <property name="Width">744</property>
  <property name="OnCreate">Add_contactCreate</property>
  <property name="jsOnLoad">Add_contactJSLoad</property>
  <object class="Label" name="Label10" >
    <property name="Caption">*First Name:</property>
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
        <property name="Size">10</property>
    </property>
    <property name="Height">17</property>
    <property name="Left">22</property>
    <property name="Name">Label10</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="Top">123</property>
    <property name="Width">72</property>
  </object>
  <object class="Edit" name="edContactFname" >
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">21</property>
    <property name="Left">100</property>
    <property name="Name">edContactFname</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="TabOrder">2</property>
    <property name="Top">119</property>
    <property name="Width">260</property>
    <property name="jsOnBlur">edContactFnameJSBlur</property>
  </object>
  <object class="Label" name="Label12" >
    <property name="Caption">Middle Name:</property>
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
        <property name="Size">10</property>
    </property>
    <property name="Height">13</property>
    <property name="Left">16</property>
    <property name="Name">Label12</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="Top">163</property>
    <property name="Width">87</property>
  </object>
  <object class="Edit" name="edContactMname" >
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">21</property>
    <property name="Left">99</property>
    <property name="Name">edContactMname</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="TabOrder">3</property>
    <property name="Top">159</property>
    <property name="Width">260</property>
  </object>
  <object class="Label" name="Label19" >
    <property name="Caption">*Last Name:</property>
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
        <property name="Size">10</property>
    </property>
    <property name="Height">13</property>
    <property name="Left">22</property>
    <property name="Name">Label19</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="Top">82</property>
    <property name="Width">72</property>
  </object>
  <object class="Edit" name="edContactLname" >
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">21</property>
    <property name="Left">100</property>
    <property name="Name">edContactLname</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="TabOrder">1</property>
    <property name="Top">78</property>
    <property name="Width">260</property>
    <property name="jsOnBlur">edContactLnameJSBlur</property>
  </object>
  <object class="Label" name="Label21" >
    <property name="Caption">Birthdate:</property>
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
        <property name="Size">10</property>
    </property>
    <property name="Height">13</property>
    <property name="Left">392</property>
    <property name="Name">Label21</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="Top">82</property>
    <property name="Width">53</property>
  </object>
  <object class="Label" name="Label22" >
    <property name="Caption">*Phone No:</property>
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Align">taRight</property>
        <property name="Color">#FFFFFF</property>
        <property name="Size">10</property>
    </property>
    <property name="Height">13</property>
    <property name="Left">518</property>
    <property name="Name">Label22</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="Top">123</property>
    <property name="Width">70</property>
  </object>
  <object class="Edit" name="edPhone" >
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">21</property>
    <property name="Left">591</property>
    <property name="Name">edPhone</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="TabOrder">9</property>
    <property name="Top">119</property>
    <property name="Width">124</property>
    <property name="jsOnBlur">edPhoneJSBlur</property>
  </object>
  <object class="Label" name="Label23" >
    <property name="Caption">Mobile No:</property>
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
        <property name="Size">10</property>
    </property>
    <property name="Height">13</property>
    <property name="Left">388</property>
    <property name="Name">Label23</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="Top">202</property>
    <property name="Width">59</property>
  </object>
  <object class="Edit" name="edMobile" >
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">21</property>
    <property name="Left">455</property>
    <property name="Name">edMobile</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="TabOrder">12</property>
    <property name="Top">198</property>
    <property name="Width">260</property>
  </object>
  <object class="Label" name="Label24" >
    <property name="Caption">Street:</property>
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">13</property>
    <property name="Left">483</property>
    <property name="Name">Label24</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="Top">311</property>
    <property name="Visible">0</property>
    <property name="Width">37</property>
  </object>
  <object class="Edit" name="edAddress" >
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">21</property>
    <property name="Left">531</property>
    <property name="Name">edAddress</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="TabOrder"></property>
    <property name="Top">307</property>
    <property name="Visible">0</property>
    <property name="Width">50</property>
  </object>
  <object class="Label" name="Label25" >
    <property name="Caption">Building:</property>
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">13</property>
    <property name="Left">473</property>
    <property name="Name">Label25</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="Top">287</property>
    <property name="Visible">0</property>
    <property name="Width">47</property>
  </object>
  <object class="Edit" name="edBldg" >
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">21</property>
    <property name="Left">531</property>
    <property name="Name">edBldg</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="TabOrder"></property>
    <property name="Top">281</property>
    <property name="Visible">0</property>
    <property name="Width">50</property>
  </object>
  <object class="ComboBox" name="cmbRegion" >
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">21</property>
    <property name="Items">a:0:{}</property>
    <property name="Left">531</property>
    <property name="Name">cmbRegion</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="TabOrder"></property>
    <property name="Top">323</property>
    <property name="Visible">0</property>
    <property name="Width">50</property>
    <property name="jsOnChange">cmbRegionJSChange</property>
  </object>
  <object class="Label" name="Label26" >
    <property name="Caption">Region:</property>
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">13</property>
    <property name="Left">478</property>
    <property name="Name">Label26</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="Top">331</property>
    <property name="Visible">0</property>
    <property name="Width">42</property>
  </object>
  <object class="ComboBox" name="cmbProvince" >
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">21</property>
    <property name="Items">a:0:{}</property>
    <property name="Left">661</property>
    <property name="Name">cmbProvince</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="TabOrder"></property>
    <property name="Top">283</property>
    <property name="Visible">0</property>
    <property name="Width">50</property>
    <property name="jsOnChange">cmbProvinceJSChange</property>
  </object>
  <object class="Label" name="Label27" >
    <property name="Caption">Province:</property>
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">13</property>
    <property name="Left">600</property>
    <property name="Name">Label27</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="Top">287</property>
    <property name="Visible">0</property>
    <property name="Width">49</property>
  </object>
  <object class="ComboBox" name="cmbMunicipality" >
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">21</property>
    <property name="Items">a:0:{}</property>
    <property name="Left">661</property>
    <property name="Name">cmbMunicipality</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="TabOrder"></property>
    <property name="Top">303</property>
    <property name="Visible">0</property>
    <property name="Width">50</property>
  </object>
  <object class="Label" name="Label28" >
    <property name="Caption">Municipality:</property>
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">13</property>
    <property name="Left">582</property>
    <property name="Name">Label28</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="Top">307</property>
    <property name="Visible">0</property>
    <property name="Width">68</property>
  </object>
  <object class="Label" name="Label29" >
    <property name="Caption">Fax No:</property>
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">13</property>
    <property name="Left">545</property>
    <property name="Name">Label29</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="Top">163</property>
    <property name="Width">43</property>
  </object>
  <object class="Edit" name="edFax" >
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">21</property>
    <property name="Left">591</property>
    <property name="Name">edFax</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="TabOrder">11</property>
    <property name="Top">159</property>
    <property name="Width">124</property>
  </object>
  <object class="Label" name="Label30" >
    <property name="Caption">Email:</property>
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">13</property>
    <property name="Left">409</property>
    <property name="Name">Label30</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="Top">241</property>
    <property name="Width">36</property>
  </object>
  <object class="Edit" name="edEmail" >
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">21</property>
    <property name="Left">455</property>
    <property name="Name">edEmail</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="TabOrder">13</property>
    <property name="Top">238</property>
    <property name="Width">260</property>
  </object>
  <object class="Label" name="Label8" >
    <property name="Caption">Add Contact Person</property>
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
        <property name="Size">15</property>
        <property name="Weight">bold</property>
    </property>
    <property name="Height">16</property>
    <property name="Left">10</property>
    <property name="Name">Label8</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="Top">7</property>
    <property name="Width">167</property>
  </object>
  <object class="DateTimePicker" name="JTBdate" >
    <property name="Caption">JTBdate</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">21</property>
    <property name="IfFormat">%Y-%m-%d</property>
    <property name="Left">455</property>
    <property name="Name">JTBdate</property>
    <property name="ParentFont">0</property>
    <property name="ShowsTime">0</property>
    <property name="Top">78</property>
    <property name="Width">260</property>
  </object>
  <object class="HiddenField" name="hiddenComp" >
    <property name="Height">18</property>
    <property name="Left">176</property>
    <property name="Name">hiddenComp</property>
    <property name="Top">6</property>
    <property name="Width">200</property>
  </object>
  <object class="Button" name="btnSubmit" >
    <property name="ButtonType">btNormal</property>
    <property name="Caption">Submit</property>
    <property name="Color">#000000</property>
    <property name="Cursor">crPointer</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">25</property>
    <property name="Left">11</property>
    <property name="Name">btnSubmit</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="TabOrder">14</property>
    <property name="Top">283</property>
    <property name="Width">75</property>
    <property name="OnClick">btnSubmitClick</property>
  </object>
  <object class="Button" name="btnContactCancel" >
    <property name="ButtonType">btNormal</property>
    <property name="Caption">Cancel</property>
    <property name="Color">#000000</property>
    <property name="Cursor">crPointer</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">25</property>
    <property name="Left">95</property>
    <property name="Name">btnContactCancel</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="TabOrder">15</property>
    <property name="Top">283</property>
    <property name="Width">75</property>
    <property name="OnClick">btnContactCancelClick</property>
  </object>
  <object class="Image" name="Image2" >
    <property name="Border">0</property>
    <property name="Height">9</property>
    <property name="ImageSource">image/divider.png</property>
    <property name="Link"></property>
    <property name="LinkTarget"></property>
    <property name="Name">Image2</property>
    <property name="Top">24</property>
    <property name="Width">744</property>
  </object>
  <object class="HiddenField" name="hiddenRandom" >
    <property name="Height">18</property>
    <property name="Left">305</property>
    <property name="Name">hiddenRandom</property>
    <property name="Top">5</property>
    <property name="Width">133</property>
  </object>
  <object class="Label" name="lblContactFname" >
    <property name="Caption">lblContactFname</property>
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Align">taCenter</property>
        <property name="Color">#FF0000</property>
    </property>
    <property name="Height">13</property>
    <property name="Left">100</property>
    <property name="Name">lblContactFname</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="Top">104</property>
    <property name="Width">260</property>
  </object>
  <object class="Label" name="lblContactLname" >
    <property name="Caption">lblContactLname</property>
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Align">taCenter</property>
        <property name="Color">#FF0000</property>
    </property>
    <property name="Height">13</property>
    <property name="Left">100</property>
    <property name="Name">lblContactLname</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="Top">65</property>
    <property name="Width">260</property>
  </object>
  <object class="Label" name="lblContactDesignation" >
    <property name="Caption">lblContactDesignation</property>
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Align">taCenter</property>
        <property name="Color">#FF0000</property>
    </property>
    <property name="Height">13</property>
    <property name="Left">103</property>
    <property name="Name">lblContactDesignation</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="Top">185</property>
    <property name="Visible">0</property>
    <property name="Width">260</property>
  </object>
  <object class="Label" name="lblPhone" >
    <property name="Caption">lblPhone</property>
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Align">taCenter</property>
        <property name="Color">#FF0000</property>
    </property>
    <property name="Height">13</property>
    <property name="Left">517</property>
    <property name="Name">lblPhone</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="Top">104</property>
    <property name="Width">198</property>
  </object>
  <object class="Label" name="lblEmail" >
    <property name="Caption">lblEmail</property>
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Align">taCenter</property>
        <property name="Color">#FF0000</property>
    </property>
    <property name="Height">13</property>
    <property name="Left">455</property>
    <property name="Name">lblEmail</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="Top">225</property>
    <property name="Width">260</property>
  </object>
  <object class="JTJavaScript" name="JSValidate" >
    <property name="Code"><![CDATA[function validateRequire(editBox, lblError)
{
 editValue = document.getElementById(editBox).value;
 //error = Number(document.getElementById('hfValidateError').value);
 if(editValue.length==0)
 {
  //alert('error');
  lblValue = document.getElementById(lblError).innerHTML = '&amp;darr; This field is required &amp;darr;';
  //alert(document.getElementById('hfValidateError').value); 
  //document.getElementById('hfValidateError').value = error + Number('1');
  //alert(document.getElementById('hfValidateError').value);
  //alert('error end');
 }
 else
 {
  lblValue = document.getElementById(lblError).innerHTML = '';
 }
}]]></property>
    <property name="Height">20</property>
    <property name="Left">395</property>
    <property name="Name">JSValidate</property>
    <property name="Top">4</property>
    <property name="Width">180</property>
  </object>
  <object class="HiddenField" name="hfError" >
    <property name="Height">18</property>
    <property name="Left">348</property>
    <property name="Name">hfError</property>
    <property name="Top">5</property>
    <property name="Width">128</property>
  </object>
  <object class="Label" name="lblDept" >
    <property name="Caption">Department:</property>
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
        <property name="Size">10</property>
    </property>
    <property name="Height">13</property>
    <property name="Left">23</property>
    <property name="Name">lblDept</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="Top">241</property>
    <property name="Width">71</property>
  </object>
  <object class="ComboBox" name="cmbDept" >
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">21</property>
    <property name="Items">a:0:{}</property>
    <property name="Left">100</property>
    <property name="Name">cmbDept</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="ParentShowHint">0</property>
    <property name="ShowHint"></property>
    <property name="TabOrder">6</property>
    <property name="Top">238</property>
    <property name="Width">240</property>
  </object>
  <object class="Button" name="btnShowDept" >
    <property name="ButtonType">btNormal</property>
    <property name="Caption">+</property>
    <property name="Color">#000000</property>
    <property name="Cursor">crPointer</property>
    <property name="Font">
        <property name="Align">taCenter</property>
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">19</property>
    <property name="Hint">add department</property>
    <property name="Left">340</property>
    <property name="Name">btnShowDept</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="ParentShowHint">0</property>
    <property name="ShowHint">1</property>
    <property name="TabOrder">7</property>
    <property name="Top">238</property>
    <property name="Width">20</property>
    <property name="jsOnClick">btnShowDeptJSClick</property>
  </object>
  <object class="HiddenField" name="compid" >
    <property name="Height">18</property>
    <property name="Left">572</property>
    <property name="Name">compid</property>
    <property name="Top">6</property>
    <property name="Width">88</property>
  </object>
  <object class="JTJavaScript" name="JTDept1" >
    <property name="Code"><![CDATA[function AjaxDept2(de,compid)
{ 
try
  {
  // Firefox, Opera 8.0+, Safari
  httpxml=new XMLHttpRequest();
  }
  catch (e)
  {
  // Internet Explorer
  try
  {
  httpxml=new ActiveXObject(&quot;Msxml2.XMLHTTP&quot;);
  }
  catch (e)
  {
  try
  {
  httpxml=new ActiveXObject(&quot;Microsoft.XMLHTTP&quot;);
  }
  catch (e)
  {
  alert(&quot;Your browser does not support AJAX!&quot;);
  return false;
  }
  }
  }
  function stateck()
  {
  if(httpxml.readyState==4)
  {
  //eval(httpxml.responseText);
  AjaxDept('contactdeptajax.php','cmbDept',compid);
  AjaxDept('contactdeptajax.php','listDept',compid);

  }
  }
  var url='addcontactdeptajax.php';
  url=url+&quot;?val=&quot;+de;
  url=url+&quot;&amp;compid=&quot;+compid;
  httpxml.onreadystatechange=stateck;
  httpxml.open(&quot;GET&quot;,url,true);
  httpxml.send(null);
}]]></property>
    <property name="Height">20</property>
    <property name="Left">3</property>
    <property name="Name">JTDept1</property>
    <property name="Top">308</property>
    <property name="Width">177</property>
  </object>
  <object class="JTJavaScript" name="JTDept2" >
    <property name="Code"><![CDATA[function AjaxDept(urlget,elemidtochange,compid)
{
var httpxml;
try
{
	// Firefox, Opera 8.0+, Safari
	httpxml=new XMLHttpRequest();
	}
	catch (e)
	{
	// Internet Explorer
	try
	{
	httpxml=new ActiveXObject(&quot;Msxml2.XMLHTTP&quot;);
	}
	catch (e)
	{
	try
	{
	httpxml=new ActiveXObject(&quot;Microsoft.XMLHTTP&quot;);
	}
	catch (e)
	{
	alert(&quot;Your browser does not support AJAX!&quot;);
	return false;
	}
	}
	}
	function stateck() 
	{
	if(httpxml.readyState==4)
	{
	var myarray=eval(httpxml.responseText);
	// Before adding new we must remove previously loaded elements
	for(j=document.getElementById(elemidtochange).options.length-1;j&gt;=0;j--)
	{
	document.getElementById(elemidtochange).remove(j);
	}
	for (i=0;i&lt;myarray.length;i++)
	{
	var objDropdown = document.getElementById(elemidtochange);
	var objOption = new Option(myarray[i],myarray[i]);
	objDropdown.options[objDropdown.length] = objOption;
	}
	}
	}
	var url=urlget;
	url=url+&quot;?compider=&quot;+compid;
	httpxml.onreadystatechange=stateck;
	httpxml.open(&quot;GET&quot;,url,true);
	httpxml.send(null);
}
]]></property>
    <property name="Height">20</property>
    <property name="Left">180</property>
    <property name="Name">JTDept2</property>
    <property name="Top">307</property>
    <property name="Width">177</property>
  </object>
  <object class="JTJavaScript" name="JTDept3" >
    <property name="Code"><![CDATA[function AjaxDept3(de,compid)
{
var httpxml;
try
  {
  // Firefox, Opera 8.0+, Safari
  httpxml=new XMLHttpRequest();
  }
  catch (e)
  {
  // Internet Explorer
  try
  {
  httpxml=new ActiveXObject(&quot;Msxml2.XMLHTTP&quot;);
  }
  catch (e)
  {
  try
  {
  httpxml=new ActiveXObject(&quot;Microsoft.XMLHTTP&quot;);
  }
  catch (e)
  {
  alert(&quot;Your browser does not support AJAX!&quot;);
  return false;
  }
  }
  }
  function stateck()
  {
  if(httpxml.readyState==4)
  {
  //eval(httpxml.responseText);
  AjaxDept('contactdeptajax.php','cmbDept',compid);
  AjaxDept('contactdeptajax.php','listDept',compid);
  }
  }
  var url='delcontactdeptajax.php';
  url=url+&quot;?val=&quot;+de;
  url=url+&quot;&amp;compid=&quot;+compid;
  httpxml.onreadystatechange=stateck;
  httpxml.open(&quot;GET&quot;,url,true);
  httpxml.send(null);
}]]></property>
    <property name="Height">20</property>
    <property name="Left">356</property>
    <property name="Name">JTDept3</property>
    <property name="Top">307</property>
    <property name="Width">177</property>
  </object>
  <object class="Label" name="lblContactMname" >
    <property name="Caption">lblContactMname</property>
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Align">taCenter</property>
        <property name="Color">#FF0000</property>
    </property>
    <property name="Height">13</property>
    <property name="Left">99</property>
    <property name="Name">lblContactMname</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="Top">144</property>
    <property name="Width">260</property>
  </object>
  <object class="Label" name="Label1" >
    <property name="Caption">* = Required Fields</property>
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#DD0000</property>
    </property>
    <property name="Height">13</property>
    <property name="Left">11</property>
    <property name="Name">Label1</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="Top">42</property>
    <property name="Width">115</property>
  </object>
  <object class="Label" name="Label20" >
    <property name="Caption">Job Title:</property>
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
        <property name="Size">10</property>
    </property>
    <property name="Height">13</property>
    <property name="Left">39</property>
    <property name="Name">Label20</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="Top">201</property>
    <property name="Width">58</property>
  </object>
  <object class="ComboBox" name="cmbJob" >
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">21</property>
    <property name="Items">a:0:{}</property>
    <property name="Layer">Employment</property>
    <property name="Left">100</property>
    <property name="Name">cmbJob</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="TabOrder">4</property>
    <property name="Top">198</property>
    <property name="Width">240</property>
  </object>
  <object class="Button" name="btnShowJob" >
    <property name="ButtonType">btNormal</property>
    <property name="Caption">+</property>
    <property name="Color">#000000</property>
    <property name="Cursor">crPointer</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">19</property>
    <property name="Hint">add job title</property>
    <property name="Left">340</property>
    <property name="Name">btnShowJob</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="ParentShowHint">0</property>
    <property name="ShowHint">1</property>
    <property name="TabOrder">5</property>
    <property name="Top">198</property>
    <property name="Width">20</property>
    <property name="jsOnClick">btnShowJobJSClick</property>
  </object>
  <object class="JTJavaScript" name="JTJob1" >
    <property name="Code"><![CDATA[function AjaxJob2(jo,compid)
{ 
try
  {
  // Firefox, Opera 8.0+, Safari
  httpxml=new XMLHttpRequest();
  }
  catch (e)
  {
  // Internet Explorer
  try
  {
  httpxml=new ActiveXObject(&quot;Msxml2.XMLHTTP&quot;);
  }
  catch (e)
  {
  try
  {
  httpxml=new ActiveXObject(&quot;Microsoft.XMLHTTP&quot;);
  }
  catch (e)
  {
  alert(&quot;Your browser does not support AJAX!&quot;);
  return false;
  }
  }
  }
  function stateck()
  {
  if(httpxml.readyState==4)
  {
  //eval(httpxml.responseText);
  AjaxJob('jobajax.php','cmbJob',compid);
  AjaxJob('jobajax.php','listJob',compid);

  }
  }
  var url='addjobajax.php';
  url=url+&quot;?val=&quot;+jo;
  url=url+&quot;&amp;compid=&quot;+compid;
  httpxml.onreadystatechange=stateck;
  httpxml.open(&quot;GET&quot;,url,true);
  httpxml.send(null);
}]]></property>
    <property name="Height">20</property>
    <property name="Left">3</property>
    <property name="Name">JTJob1</property>
    <property name="Top">327</property>
    <property name="Width">177</property>
  </object>
  <object class="JTJavaScript" name="JTJob2" >
    <property name="Code"><![CDATA[function AjaxJob(urlget,elemidtochange,compid)
{
var httpxml;
try
{
	// Firefox, Opera 8.0+, Safari
	httpxml=new XMLHttpRequest();
	}
	catch (e)
	{
	// Internet Explorer
	try
	{
	httpxml=new ActiveXObject(&quot;Msxml2.XMLHTTP&quot;);
	}
	catch (e)
	{
	try
	{
	httpxml=new ActiveXObject(&quot;Microsoft.XMLHTTP&quot;);
	}
	catch (e)
	{
	alert(&quot;Your browser does not support AJAX!&quot;);
	return false;
	}
	}
	}
	function stateck() 
	{
	if(httpxml.readyState==4)
	{
	var myarray=eval(httpxml.responseText);
	// Before adding new we must remove previously loaded elements
	for(j=document.getElementById(elemidtochange).options.length-1;j&gt;=0;j--)
	{
	document.getElementById(elemidtochange).remove(j);
	}
	for (i=0;i&lt;myarray.length;i++)
	{
	var objDropdown = document.getElementById(elemidtochange);
	var objOption = new Option(myarray[i],myarray[i]);
	objDropdown.options[objDropdown.length] = objOption;
	}
	}
	}
	var url=urlget;
	url=url+&quot;?compider=&quot;+compid;
	httpxml.onreadystatechange=stateck;
	httpxml.open(&quot;GET&quot;,url,true);
	httpxml.send(null);
}]]></property>
    <property name="Height">20</property>
    <property name="Left">302</property>
    <property name="Name">JTJob2</property>
    <property name="Top">55</property>
    <property name="Width">177</property>
  </object>
  <object class="JTJavaScript" name="JTJob3" >
    <property name="Code"><![CDATA[function AjaxJob3(jo,compid)
{
var httpxml;
try
  {
  // Firefox, Opera 8.0+, Safari
  httpxml=new XMLHttpRequest();
  }
  catch (e)
  {
  // Internet Explorer
  try
  {
  httpxml=new ActiveXObject(&quot;Msxml2.XMLHTTP&quot;);
  }
  catch (e)
  {
  try
  {
  httpxml=new ActiveXObject(&quot;Microsoft.XMLHTTP&quot;);
  }
  catch (e)
  {
  alert(&quot;Your browser does not support AJAX!&quot;);
  return false;
  }
  }
  }
  function stateck()
  {
  if(httpxml.readyState==4)
  {
  //eval(httpxml.responseText);
  AjaxJob('jobajax.php','cmbJob',compid);
  AjaxJob('jobajax.php','listJob',compid);
  }
  }
  var url='deljobajax.php';
  url=url+&quot;?val=&quot;+jo;
  url=url+&quot;&amp;compid=&quot;+compid;
  httpxml.onreadystatechange=stateck;
  httpxml.open(&quot;GET&quot;,url,true);
  httpxml.send(null);
}]]></property>
    <property name="Height">20</property>
    <property name="Left">358</property>
    <property name="Name">JTJob3</property>
    <property name="Top">287</property>
    <property name="Width">177</property>
  </object>
  <object class="Label" name="Label2" >
    <property name="Caption">*Area code:</property>
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
        <property name="Size">11</property>
    </property>
    <property name="Height">13</property>
    <property name="Left">377</property>
    <property name="Name">Label2</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="Top">123</property>
    <property name="Width">70</property>
  </object>
  <object class="Edit" name="edArea" >
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">21</property>
    <property name="Left">455</property>
    <property name="Name">edArea</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="TabOrder">8</property>
    <property name="Top">119</property>
    <property name="Width">60</property>
    <property name="jsOnBlur">edAreaJSBlur</property>
  </object>
  <object class="Label" name="lblarea" >
    <property name="Caption">lblarea</property>
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Align">taRight</property>
        <property name="Color">#FF0000</property>
    </property>
    <property name="Height">10</property>
    <property name="Left">364</property>
    <property name="Name">lblarea</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="Top">104</property>
    <property name="Width">151</property>
  </object>
  <object class="Label" name="Label3" >
    <property name="Caption">Area code:</property>
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
        <property name="Size">11</property>
    </property>
    <property name="Height">13</property>
    <property name="Left">385</property>
    <property name="Name">Label3</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="Top">163</property>
    <property name="Width">66</property>
  </object>
  <object class="Edit" name="edfcode" >
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Color">#FFFFFF</property>
    </property>
    <property name="Height">21</property>
    <property name="Left">455</property>
    <property name="Name">edfcode</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="TabOrder">10</property>
    <property name="Top">159</property>
    <property name="Width">60</property>
    <property name="jsOnBlur">edfcodeJSBlur</property>
  </object>
  <object class="Label" name="lblfcode" >
    <property name="Caption">lblarea</property>
    <property name="Color">#000000</property>
    <property name="Font">
        <property name="Align">taRight</property>
        <property name="Color">#FF0000</property>
    </property>
    <property name="Height">10</property>
    <property name="Left">364</property>
    <property name="Name">lblfcode</property>
    <property name="ParentColor">0</property>
    <property name="ParentFont">0</property>
    <property name="Top">145</property>
    <property name="Width">193</property>
  </object>
  <object class="JTDivWindow" name="JTDivJob" >
    <property name="AnchorsWorkaround">--Workaround--</property>
    <property name="BorderIcons">
        <property name="Help">0</property>
        <property name="Maximize">0</property>
        <property name="Minimize">0</property>
    </property>
    <property name="BorderStyle">bsSingle</property>
    <property name="Caption">Job Title</property>
    <property name="Height">251</property>
    <property name="Left">325</property>
    <property name="Name">JTDivJob</property>
    <property name="Position">poParentCenter</property>
    <property name="SiteTheme"></property>
    <property name="Top">32</property>
    <property name="Width">320</property>
    <object class="JTGroupBox" name="JTGroupBox1" >
      <property name="AnchorsWorkaround">--Workaround--</property>
      <property name="Height">199</property>
      <property name="Left">17</property>
      <property name="Name">JTGroupBox1</property>
      <property name="SiteTheme"></property>
      <property name="Top">34</property>
      <property name="Width">286</property>
      <object class="ListBox" name="listJob" >
        <property name="Color">#000000</property>
        <property name="Font">
                <property name="Color">#FFFFFF</property>
        </property>
        <property name="Height">153</property>
        <property name="Items">a:0:{}</property>
        <property name="Left">12</property>
        <property name="Name">listJob</property>
        <property name="ParentColor">0</property>
        <property name="ParentFont">0</property>
        <property name="Top">41</property>
        <property name="Width">201</property>
      </object>
      <object class="Edit" name="edJob" >
        <property name="Color">#000000</property>
        <property name="Font">
                <property name="Color">#FFFFFF</property>
        </property>
        <property name="Height">21</property>
        <property name="Left">12</property>
        <property name="Name">edJob</property>
        <property name="ParentColor">0</property>
        <property name="ParentFont">0</property>
        <property name="Top">17</property>
        <property name="Width">201</property>
      </object>
      <object class="Button" name="btnDelJob" >
        <property name="ButtonType">btNormal</property>
        <property name="Caption">Delete</property>
        <property name="Color">#000000</property>
        <property name="Cursor">crPointer</property>
        <property name="Font">
                <property name="Color">#FFFFFF</property>
        </property>
        <property name="Height">21</property>
        <property name="Left">218</property>
        <property name="Name">btnDelJob</property>
        <property name="ParentColor">0</property>
        <property name="ParentFont">0</property>
        <property name="Top">172</property>
        <property name="Width">60</property>
        <property name="jsOnClick">btnDelJobJSClick</property>
      </object>
      <object class="Button" name="btnAddJob" >
        <property name="ButtonType">btNormal</property>
        <property name="Caption">Add</property>
        <property name="Color">#000000</property>
        <property name="Cursor">crPointer</property>
        <property name="Font">
                <property name="Color">#FFFFFF</property>
        </property>
        <property name="Height">21</property>
        <property name="Left">218</property>
        <property name="Name">btnAddJob</property>
        <property name="ParentColor">0</property>
        <property name="ParentFont">0</property>
        <property name="Top">17</property>
        <property name="Width">60</property>
        <property name="jsOnClick">btnAddJobJSClick</property>
      </object>
    </object>
  </object>
  <object class="JTDivWindow" name="JTDivDept" >
    <property name="AnchorsWorkaround">--Workaround--</property>
    <property name="BorderIcons">
        <property name="Help">0</property>
        <property name="Maximize">0</property>
        <property name="Minimize">0</property>
    </property>
    <property name="BorderStyle">bsSingle</property>
    <property name="Caption">Department</property>
    <property name="Height">251</property>
    <property name="Left">284</property>
    <property name="Name">JTDivDept</property>
    <property name="Position">poParentCenter</property>
    <property name="SiteTheme"></property>
    <property name="Top">32</property>
    <property name="Width">320</property>
    <object class="JTGroupBox" name="JTGroupBox3" >
      <property name="AnchorsWorkaround">--Workaround--</property>
      <property name="Height">202</property>
      <property name="Left">17</property>
      <property name="Name">JTGroupBox3</property>
      <property name="SiteTheme"></property>
      <property name="Top">34</property>
      <property name="Width">286</property>
      <object class="ListBox" name="listDept" >
        <property name="Color">#000000</property>
        <property name="Font">
                <property name="Color">#FFFFFF</property>
        </property>
        <property name="Height">153</property>
        <property name="Items">a:0:{}</property>
        <property name="Left">12</property>
        <property name="Name">listDept</property>
        <property name="ParentColor">0</property>
        <property name="ParentFont">0</property>
        <property name="Top">41</property>
        <property name="Width">201</property>
      </object>
      <object class="Edit" name="edDept" >
        <property name="Color">#000000</property>
        <property name="Font">
                <property name="Color">#FFFFFF</property>
        </property>
        <property name="Height">21</property>
        <property name="Left">12</property>
        <property name="Name">edDept</property>
        <property name="ParentColor">0</property>
        <property name="ParentFont">0</property>
        <property name="Top">17</property>
        <property name="Width">201</property>
      </object>
      <object class="Button" name="btnDelDept" >
        <property name="ButtonType">btNormal</property>
        <property name="Caption">Delete</property>
        <property name="Color">#000000</property>
        <property name="Cursor">crPointer</property>
        <property name="Font">
                <property name="Color">#FFFFFF</property>
        </property>
        <property name="Height">25</property>
        <property name="Left">218</property>
        <property name="Name">btnDelDept</property>
        <property name="ParentColor">0</property>
        <property name="ParentFont">0</property>
        <property name="Top">167</property>
        <property name="Width">60</property>
        <property name="jsOnClick">btnDelDeptJSClick</property>
      </object>
      <object class="Button" name="btnAddDept" >
        <property name="ButtonType">btNormal</property>
        <property name="Caption">Add</property>
        <property name="Color">#000000</property>
        <property name="Cursor">crPointer</property>
        <property name="Font">
                <property name="Color">#FFFFFF</property>
        </property>
        <property name="Height">25</property>
        <property name="Left">218</property>
        <property name="Name">btnAddDept</property>
        <property name="ParentColor">0</property>
        <property name="ParentFont">0</property>
        <property name="Top">17</property>
        <property name="Width">60</property>
        <property name="jsOnClick">btnAddDeptJSClick</property>
      </object>
    </object>
  </object>
  <object class="JTSiteTheme" name="JTSiteTheme1" >
        <property name="Left">679</property>
        <property name="Top">6</property>
    <property name="Name">JTSiteTheme1</property>
    <property name="Theme">black</property>
  </object>
</object>
?>
